<template>
	<view>
		<web-view :webview-styles="webviewStyles" :src="src"></web-view>
	</view>
</template>

<script>
	import api from '@/api/index.js'
	import urlConfig from '@/common/config.js'
	
	export default {
		data() {
			return {
				webviewStyles: {},
				src: ''
			}
		},
		onLoad(options) {
			this.src = `${urlConfig}petPay/get?amount=${options.amount}&payType=${options.type}`
		},
		methods: {}
	}
</script>

<style>

</style>
